<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
[#include "/admin/include/head.htm"]
    <script type="text/javascript">
        var grid;
        $(function () {
            grid = $("#maingrid").ligerGrid({
                columns: [
                    {display: 'ID', name: 'id', width: 50, align: 'center', isAllowHide: false},
                    {display: '城市', name: 'city', align: 'center', width: 150},
                    {display: '车牌', name: 'carNo', align: 'center', width: 150},
                    {
                        display: '是否取得车牌', name: 'hasCarNo', align: 'center', width: 100,
                        render: function (row) {
                            return row.hasCarNo == "true" ? '是' : '否';
                        }
                    },
                    {display: '提车年月', name: 'buyDate', align: 'center', width: 120,
                        render: function (row) {
                        return row.buyDate.substring(0,7);
                    }},
                    {display: '车价', name: 'price', align: 'center', width: 120},
                    {display: '手机', name: 'mobile', align: 'center', width: 120}
                ], pageSize: 20, url: 'queryData.jhtml', toolbar: {}, width: '100%', height: '100%', enabledSort: true
            });

            $("#pageloading").hide();
            LG.loadToolbar(grid);

            //绑定搜索按钮
            LG.search(grid);


        });
    </script>
</head>
<body style="padding:10px; overflow:hidden;">
<div id="functions">

		[#--<span>
			回复状态:[@u.select headerKey="" headerValue="全部"
        headerButtom="false" list={"true":"已使用","false":"未使用"}
        name="search_EQ_isUsed"/]
		</span>--]
    <input type="button" id="search" class="button" value="搜索"/>
    <a href="#" id="search_btn_reset" face="Wingdings 3">解除搜索,显示全部数据</a>
</div>
<div id="maingrid" style="margin:0; padding:0"></div>
</body>
</html>